package com.pandora.credit.dao;

import com.pandora.credit.entity.Credit;

import java.util.List;

/**
 * @author developer
 */
public interface CreditDao {

    /**
     * getByCondition
     * @param credit credit
     * @return CreditList
     */
    List<Credit> getByCondition(Credit credit);

    /**
     * update
     * @param credit credit
     */
    void update(Credit credit);
}
